package typeinfo.toys;

public class GenericToyTest {
	@SuppressWarnings("unused")
	public static void main(String[] args) throws Exception {
		Class<FancyToy> ftClass = FancyToy.class;
		FancyToy fancyToy = ftClass.newInstance();
		Class<? super FancyToy> up = ftClass.getSuperclass();
		Object Obj = up.newInstance();
	}
}
